GET api/Global/Calendar/GetEvents?userType={userType}&startDate={startDate}&endDate={endDate}&eventTypes[0]={eventTypes[0]}&eventTypes[1]={eventTypes[1]}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userType

UserType

Required

startDate

date

Required

endDate

date

Required

eventTypes

Collection of integer

Required

Body Parameters

None.

Response Information

Resource Description

ServiceResultOfListOfCalendarEvent
NameDescriptionTypeAdditional information
Result

Collection of CalendarEvent

None.

ErrorCode

ServiceErrorCode

None.

ErrorMessage

Collection of string

None.

Success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": [
    {
      "Id": "51481bed-dc7e-425f-8774-5ff3263e671a",
      "DisplayName": "sample string 2",
      "Name": "sample string 3",
      "Description": "sample string 4",
      "StartDate": "2026-09-29T15:13:34.9126809+01:00",
      "EndDate": "2026-09-29T15:13:34.9126809+01:00",
      "EventTypeId": 7,
      "CalendarTypeId": 8,
      "CalendarColor": "sample string 9",
      "IsAllDay": true,
      "Local": "sample string 10",
      "Users": [
        {
          "EventStatusId": 1,
          "EventStatusDescription": "sample string 2",
          "UserName": "sample string 3",
          "FullName": "sample string 4",
          "AppUserId": "92f42283-d1f1-4fc9-bd9f-4c21fae98db0"
        },
        {
          "EventStatusId": 1,
          "EventStatusDescription": "sample string 2",
          "UserName": "sample string 3",
          "FullName": "sample string 4",
          "AppUserId": "92f42283-d1f1-4fc9-bd9f-4c21fae98db0"
        }
      ],
      "Players": [
        {
          "ShortName": "sample string 1",
          "PlayerId": "00179a3a-bd1a-4b0d-b831-26e1c163bcdd"
        },
        {
          "ShortName": "sample string 1",
          "PlayerId": "00179a3a-bd1a-4b0d-b831-26e1c163bcdd"
        }
      ],
      "RoomsDisplay": "sample string 11",
      "PlayerId": "e7422bb6-3a46-4f89-a2e3-dc207c7c5e00",
      "PlayerName": "sample string 12",
      "PlayerPhoto": "sample string 13",
      "Siblings": [
        {
          "PlayerId": "a6aa8b91-f329-4a10-b2f7-5c9df8f51c82",
          "PlayerName": "sample string 2",
          "TeamId": "31cd944c-0271-4dae-94ca-5ec46ecbf81b",
          "TeamName": "sample string 4",
          "Photo": {
            "Id": "e41347c9-6564-4190-b01e-114b48925cc4",
            "Name": "sample string 2",
            "Path": "sample string 3",
            "Description": "sample string 4",
            "TypeId": 1,
            "Token": "sample string 3"
          }
        },
        {
          "PlayerId": "a6aa8b91-f329-4a10-b2f7-5c9df8f51c82",
          "PlayerName": "sample string 2",
          "TeamId": "31cd944c-0271-4dae-94ca-5ec46ecbf81b",
          "TeamName": "sample string 4",
          "Photo": {
            "Id": "e41347c9-6564-4190-b01e-114b48925cc4",
            "Name": "sample string 2",
            "Path": "sample string 3",
            "Description": "sample string 4",
            "TypeId": 1,
            "Token": "sample string 3"
          }
        }
      ]
    },
    {
      "Id": "51481bed-dc7e-425f-8774-5ff3263e671a",
      "DisplayName": "sample string 2",
      "Name": "sample string 3",
      "Description": "sample string 4",
      "StartDate": "2026-09-29T15:13:34.9126809+01:00",
      "EndDate": "2026-09-29T15:13:34.9126809+01:00",
      "EventTypeId": 7,
      "CalendarTypeId": 8,
      "CalendarColor": "sample string 9",
      "IsAllDay": true,
      "Local": "sample string 10",
      "Users": [
        {
          "EventStatusId": 1,
          "EventStatusDescription": "sample string 2",
          "UserName": "sample string 3",
          "FullName": "sample string 4",
          "AppUserId": "92f42283-d1f1-4fc9-bd9f-4c21fae98db0"
        },
        {
          "EventStatusId": 1,
          "EventStatusDescription": "sample string 2",
          "UserName": "sample string 3",
          "FullName": "sample string 4",
          "AppUserId": "92f42283-d1f1-4fc9-bd9f-4c21fae98db0"
        }
      ],
      "Players": [
        {
          "ShortName": "sample string 1",
          "PlayerId": "00179a3a-bd1a-4b0d-b831-26e1c163bcdd"
        },
        {
          "ShortName": "sample string 1",
          "PlayerId": "00179a3a-bd1a-4b0d-b831-26e1c163bcdd"
        }
      ],
      "RoomsDisplay": "sample string 11",
      "PlayerId": "e7422bb6-3a46-4f89-a2e3-dc207c7c5e00",
      "PlayerName": "sample string 12",
      "PlayerPhoto": "sample string 13",
      "Siblings": [
        {
          "PlayerId": "a6aa8b91-f329-4a10-b2f7-5c9df8f51c82",
          "PlayerName": "sample string 2",
          "TeamId": "31cd944c-0271-4dae-94ca-5ec46ecbf81b",
          "TeamName": "sample string 4",
          "Photo": {
            "Id": "e41347c9-6564-4190-b01e-114b48925cc4",
            "Name": "sample string 2",
            "Path": "sample string 3",
            "Description": "sample string 4",
            "TypeId": 1,
            "Token": "sample string 3"
          }
        },
        {
          "PlayerId": "a6aa8b91-f329-4a10-b2f7-5c9df8f51c82",
          "PlayerName": "sample string 2",
          "TeamId": "31cd944c-0271-4dae-94ca-5ec46ecbf81b",
          "TeamName": "sample string 4",
          "Photo": {
            "Id": "e41347c9-6564-4190-b01e-114b48925cc4",
            "Name": "sample string 2",
            "Path": "sample string 3",
            "Description": "sample string 4",
            "TypeId": 1,
            "Token": "sample string 3"
          }
        }
      ]
    }
  ],
  "ErrorCode": 0,
  "ErrorMessage": [
    "sample string 1",
    "sample string 2"
  ],
  "Success": true
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.